<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button type="button" onclick="ee()">刷新</button>        
    <button type="button" onclick="aa()" >跳转到页面2</button>
</body>
            <script>
                function aa(){
                    location.href='./index1.html'
                }
                function ee(){
           location.reload()
       }
            </script>
</html>